package stone.ast;

import org.jetbrains.annotations.NotNull;
import runner.Environment;
import stone.Token;

public class StringLiteral extends ASTLeaf {
    public StringLiteral(Token t) {
        super(t);
    }
    public String value() {
        return getToken().getText();
    }

    @NotNull
    public Object eval(Environment e) {
        return value();
    }
}
